import { adminPostJson } from '@/api/apiTool'

//素材列表
export function getMateList(data, success, showMsg = false) {
    let url = "/admin/Mate/getMateList"
    adminPostJson(url, data, success, showMsg)
}

//删除素材
export function deleteMaterial(data, success, showMsg = false) {
    let url = "/admin/Mate/deleteMaterial"
    adminPostJson(url, data, success, showMsg)
}

//已发布素材
export function getBeenSaveList(data, success, showMsg = false) {
    let url = "/admin/Mate/getBeenSaveList"
    adminPostJson(url, data, success, showMsg)
}